/* 
 * File:   DocOccurrence.h
 * Author: eduardo
 *
 * Created on 5 de noviembre de 2012, 21:07
 */

#ifndef DOCOCCURRENCE_H
#define	DOCOCCURRENCE_H

// db
#include <odb/core.hxx>

#pragma db value

class DocOccurrence {
public:
    DocOccurrence(int doc, int reps);
    ~DocOccurrence();

    int getDoc();
    int getReps();

private:
    DocOccurrence() {
    }
    friend class odb::access;

    int _doc;
    int _reps;
};

#endif	/* DOCOCCURRENCE_H */

